$OpenBSD: patch-src_Makefile_in,v 1.6 2015/09/21 08:46:50 ajacoutot Exp $
--- src/Makefile.in.orig	Sun Feb  7 04:42:28 2010
+++ src/Makefile.in	Wed Mar 24 08:56:19 2010
@@ -557,7 +557,7 @@ PISYNC_CURRENT = @PISYNC_CURRENT@
 PISYNC_REVISION = @PISYNC_REVISION@
 PKG_CONFIG = @PKG_CONFIG@
 PNG_CFLAGS = @PNG_CFLAGS@
-PNG_LIBS = @PNG_LIBS@
+PNG_LIBS = @PNG_LIBS@ -lz -lm
 POPT_INCLUDES = @POPT_INCLUDES@
 POPT_LIBS = @POPT_LIBS@
 PTHREAD_CC = @PTHREAD_CC@
